package Gobang;

/**
 * @author 张子健
 * @version 1.0
 * Time: 2022-09-25-13:53
 */
public class Chess {
    public final char CHESSBLACK = '○';
    public final char CHESSWHITE = '●';
    public static int count = 0;

    //棋子颜色判断
    public char JudgeColor() {
        if (count % 2 == 0) {
            return CHESSBLACK;
        } else {
            return CHESSWHITE;
        }
    }
}
